home *** CD-ROM | disk | FTP | other *** search
/ Chip: 2005 Utilities / CHIP Utilities 2005.7z / CHIP Utilities 2005.iso / images / discwiz.igz / discwiz.img / LETTER.BAT < prev    next >
Encoding:
DOS Batch File  |  2004-05-27  |  1.2 KB  |  62 lines

  1. @echo off
  2. set DESTPATH=%1:\
  3. echo Your RAM Disk is %DESTPATH%
  4. path=a:\;%DESTPATH%
  5.  
  6. splash
  7. ECHO Loading files into memory, please wait...
  8.  
  9. IF NOT EXIST dmzip1.exe GOTO DISK1_PROMPT
  10. GOTO COPY_DISK1
  11.  
  12. :DISK1_PROMPT
  13. choice /c:C /N Please insert DiscWizard Starter Edition Disk 1 and press 'c' to continue
  14. IF NOT EXIST dmzip1.exe GOTO DISK1_PROMPT
  15.  
  16. :COPY_DISK1
  17. dmzip1.exe %DESTPATH%
  18.  
  19. :DISK2_PROMPT
  20. rem choice /c:C /N Please insert DiscWizard Starter Edition Disk 2 and press 'c' to continue
  21.  
  22. IF NOT EXIST dmzip2.exe GOTO DISK2_PROMPT
  23.  
  24. :COPY_DISK2
  25. dmzip2.exe %DESTPATH%
  26.  
  27. splash
  28. cls
  29. %1:
  30. xbios  /Z /I /X
  31. CALL loadaspi
  32.  
  33. drmouse
  34. if errorlevel 10 goto MOUSEERR
  35. if errorlevel 9 goto MOUSEERR
  36. if errorlevel 8 goto MOUSEERR
  37. if errorlevel 7 goto MOUSEERR
  38. if errorlevel 6 goto MOUSEERR
  39. if errorlevel 5 goto MOUSEERR
  40. if errorlevel 4 goto MOUSEERR
  41. if errorlevel 3 goto MOUSEERR
  42. if errorlevel 2 goto MOUSEERR
  43. goto NOMOUSEERR
  44.  
  45. :MOUSEERR
  46. drmouse /u
  47. set NOMOUSE=TRUE
  48.  
  49. :NOMOUSEERR
  50. if "%NOMOUSE%"=="TRUE" goto NMOUSE
  51.  
  52. CALL %DESTPATH%dwse.exe /ve:32
  53. goto END
  54.  
  55. :NMOUSE
  56. CALL %DESTPATH%dwse.exe /ve:32 NOMOUSE
  57.  
  58. :END
  59. cls
  60. echo Your RAM Disk is %DESTPATH%
  61. echo Thank you for using DiscWizard
  62.